package cn.itcast.service;

import cn.itcast.domain.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

public interface CourierService {
    //增加
    void add(Courier courier);

    //分页模糊查询
    Page<Courier> pageQuery(Specification<Courier> specification, Pageable pageable);

    //作废
    void update(String id);

    //回显
    void restore(String id);
    //为空查询
    List<Courier> findNoAssocation();


}
